//
//  SoundManager.h
//  match2
//
//  Created by Tri Vo on 7/13/13.
//
//

#ifndef __match2__SoundManager__
#define __match2__SoundManager__

#include <iostream>
#include "SimpleAudioEngine.h"
#include "GeneralDef.h"
#include "cocos2d.h"

#define SOUND_MENU_CLICK ""
#define SOUND_BUTTON_CLICK ""
#define MUSIC_BACKGROUND   ""

class SoundManager {
private:
    SoundManager() {
        
    }
    static SoundManager *mInstance;
    
public:
    ~SoundManager();
    
    static SoundManager *getInstance();
    
    void playSound(const char *fileName, bool isLoop);
    void muteSound(const char *fileName);
    void stopSound(const char *fileName);
    void stopBackgroundMusic();
    void playMusic(const char *fileName, bool isLoop);
};

#endif /* defined(__match2__SoundManager__) */
